package com.hertz.iris.view;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

import com.hertz.iris.R;


public class WelcomeActivity extends Activity {

	private static final long SPLASH_DISPLAY_LENGHT = 1000;
	@Override 
    public void onCreate(Bundle savedInstanceState) { 
        super.onCreate(savedInstanceState); 
        setContentView(R.layout.welcome); 
        new Handler().postDelayed(new Runnable(){ 
        
         @Override 
         public void run() { 
             Intent indexIntent = new Intent(WelcomeActivity.this,IndexActivity.class); 
             startActivity(indexIntent); 
             finish();
         } 
            
        }, SPLASH_DISPLAY_LENGHT); 
    } 

}